package com.dyp.Interceptordemo.web.rest;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping(value = "/test")
public class TestResource {
    @GetMapping("/interceptor")
    public String hello() {
        return "hello world";
    }
}
